import request from '/@/utils/request';

/**
 * OIDC 审计日志 API
 */

// 获取审计日志列表
export function getAuditLogList(params: any) {
  return request({
    url: '/oidc/admin/audit-logs',
    method: 'get',
    params,
  });
}

// 导出审计日志
export function exportAuditLogs(params: any) {
  return request({
    url: '/oidc/admin/audit-logs/export',
    method: 'get',
    params,
    responseType: 'blob',
  });
}